package com.caiyi.financial.nirvana.sms.mapper;

import com.caiyi.financial.nirvana.sms.base.mapper.BaseMapper;
import com.caiyi.financial.nirvana.sms.entity.SmsPermission;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;


@Mapper
public interface SmsPermissionMapper extends BaseMapper<SmsPermission> {

    @Select("select p.id,p.name,p.url,p.describe from sms_permission p where id=#{id}")
    SmsPermission getPermission(Integer id);
}
